package org.example.service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;

import org.example.entity.ResultsInfoEntity;
import org.springframework.stereotype.Service;

@Service
public interface ResultsInfoService extends IService<ResultsInfoEntity> {
    List<ResultsInfoEntity> getResultsByESId(long examId,long studentId);
    //ResultsInfoEntity getResultsByQuestionId(long questionId,long studentId);
    boolean saveResult(ResultsInfoEntity result);

    boolean deleteResultById(Integer resultId);

    ResultsInfoEntity getResultsByQuestionId(long questionId, long studentId);
}
